////////////////////////////////////////////////////////////////////////////////
//
// Licensed under the MIT License
//
// Copyright (c) 2008 Chris Colinsky
// All Rights Reserved
//
// version	0.4
// http://code.google.com/p/sugarcookie/
// http://code.google.com/p/sugarcookie/wiki/License
//
////////////////////////////////////////////////////////////////////////////////

class sugarcookie.validators.ValidationResult {
	public var errorMessage:String;
	public var isError:Boolean;
	
	public function ValidationResult(eMsg:String,e:Boolean) {
		errorMessage = eMsg!=undefined?eMsg:"";
		isError = e!=undefined?e:false;
	}
}